<table border="1" align="center">
    <tr align="center" bgcolor="red">
        <td rowspan="2">序号</td>
        <td rowspan="2">班级</td>
        <td rowspan="2">科目</td>
        <td colspan="3" align="center">成绩</td>
    </tr>
    <tr align="center" style="color: rgb(255, 0, 0);">
        <td>最高分</td>
        <td>最低分</td>
        <td>平均分</td>
    </tr>
    <tr align="center">
        <td>1</td>
        <td rowspan="2">A1</td>
        <td>语文</td>
        <td>56</td>
        <td>67</td>
        <td>67</td>
    </tr>
    <tr align="center">
        <td>2</td>
        <td>数学</td>
        <td>45</td>
        <td>56</td>
        <td>32</td>
    </tr>
    <tr align="center">
        <td>3</td>
        <td rowspan="2">A2</td>
        <td>语文</td>
        <td>56</td>
        <td>67</td>
        <td>67</td>
    </tr>
    <tr align="center">
        <td>4</td>
        <td>数学</td>
        <td>45</td>
        <td>56</td>
        <td>32</td>
    </tr>
    <tr align="center">
        <td>5</td>
        <td rowspan="2">A3</td>
        <td>语文</td>
        <td>56</td>
        <td>67</td>
        <td>67</td>
    </tr>
    <tr align="center">
        <td>6</td>
        <td>数学</td>
        <td>45</td>
        <td>56</td>
        <td>32</td>
    </tr>
</table>